<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.mem.session.SessionUtil"%>
<%@page import="com.vo.Person"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>good</title>
</head>
<body>
<%
    Person userInfo = (Person)SessionUtil.getAttribute(request,"666");
if(userInfo != null)
{
	out.println("hello " + userInfo.getName());
}
else
{
	out.println("you have not logged in !");
}
%>

</body>
</html>